package com.shop.domin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//地址表
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("address")
public class Address implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer aid; //#收货人id
    private String aname;//收货人姓名
    private String aphone ;//用户手机号
    private String aprovince ;//省
    private String acity ;//市
    private String aarea ;//县/区
    private String adetail;//详细地址
    private Integer acode;//邮政编码
    private Integer userId ;//外键用户id

}
